package com.lyrcsoft.rxjava1x.entity;

import lombok.Data;

import java.util.List;

/**
 * @author fujc2dev@126.com
 * @date 2024-11-15
 */
@Data
public class Community {

    private String name;

    private List<House> houses;


    public Community(String name, List<House> sources) {
        this.name = name;
        this.houses = sources;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<House> getHouses() {
        return houses;
    }

    public void setHouses(List<House> houses) {
        this.houses = houses;
    }
}
